package com.example.multidatasource.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author 周明军
 * @since 2020/4/17
 */
@TableName("teacher")
@Data
public class Teacher {
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    private String teacherName;
}
